<div id="container">

	<div id="sidebar">

		<ul class="sideNav">

			<li><a href="<?php Yii::app()->request->baseUrl; ?>/adminka/qmain_firm/add">Добавить фирму</a></li>

			<li><a href="<?php Yii::app()->request->baseUrl; ?>/adminka/qmain_firm/list" class="active">Редактировать фирму</a></li>

		</ul>

	</div>



<div id="main">

<div id="del">

	<h2>Список фирм</h2>

	<ul>

	<?php

		foreach( $firm as $key )

		{ ?>



			<li style="margin:20px 0px 20px 0px;"><?php echo $key->name; ?>



				<?php echo '<a href="/adminka/qmain_firm/edit/id/'.$key->id_mainfirm.'"><img src="/images/adminicons/edit.png" /></a>';?>

				<?php echo '<a href="/adminka/qmain_firm/del/id/'.$key->id_mainfirm.'"><img src="/images/adminicons/delete.png" /></a><br />';?>



			</li>

		<?php } ?>





	</ul>

</div>







</div><!-- end main -->